// 微信分享信息配置
const wechatConfig = {
  // 不允许微信外部环境打开
  notAllowdOutOfWechat: true,

  // wxf392b9365ddf8add
  appId: location.href.includes("shwzfa.cn")
    ? "wxaa95f7394b9d14b4"
    : "wx8b520a2904a163d3",
  authorize: location.href.includes("shwzfa.cn")
    ? "https://api.shwzfa.cn/app/wechat/ajaxAuth"
    : "https://api.izjut.cn/app/wechat/ajaxAuth",
  useAuthorize: location.href.includes("shwzfa.cn")
    ? "https://api.shwzfa.cn/app/wechat/authUserInfo"
    : "https://api.izjut.cn/app/wechat/authUserInfo",
  shareData: {
    title: "",
    desc: "",
    link: location.href,
    imgUrl: "https://m.shwzfa.cn/static/img/share_sell.png",
    success: () => {},
    cancel: () => {},
  },
};

export default {
  wechat: wechatConfig,
};
